
var text = '{"name":"HaiMeiMei", "class":1, "grade":2, "age":14}'

var j = JSON.parse(text);

console.log(j.name);


var json = {name:"HaiMeimei", class:1, grade:2, age:14};
var t = JSON.stringify(json);
console.log(t);